import java.util.HashSet;
import java.util.Scanner;
import java.util.Set;

/**
 * Created by 14229 on 2020/2/19.
 */
public class Test07 {
    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);
        String s = sc.nextLine();
        String[] split = s.split(",");
        int a = split.length;
        Set<String> set = new HashSet<>();
        for (String s1 : split) {
            set.add(s1);
        }
        int b = set.size();
        if (a==b){
            System.out.println(true);
        }else {
            System.out.println(false);
        }
    }
}
